package TeXing.src.Day2.ZuoYe;

import java.util.Scanner;

//3：输入两个整数，输出他们 & | ^的结果。
public class Zuoye3 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入两个整数：");
        int a=input.nextInt();
        int b=input.nextInt();
        int c=a&b;
        int d=a|b;
        int e=a^b;
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
    }
}
